package thread4;

public class MyThread implements Runnable {

	private int num = 0;

	public void run() {
		while (num <= 100) {
			if (num % 2 == 0) {
				System.out.println(num);
			}
			num++;
		}
	}
}
